﻿using System;
using RentalDTO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentalIService
{
    public interface IServiceStaff : IServiceSupport
    {
        List<StaffDTO> SelectOneList(string id);
        List<StaffDTO> SelectOneList(string id, string pwd);
        List<StaffDTO> ShowStaff(int offset, int limit, string name, string sort, string order, ref int rowCount);
        bool StaffAdd(string Name, string Address, string Email, string Tel, string Remark, string NativePlace, string RoleId, DateTime BirthDay, int Sex);
        bool StaffUpdate(string Name, string Address, string Email, string Tel, string Remark, string id, string NativePlace, string RoleId, DateTime BirthDay, int Sex);
        bool StaffDelete(string id);
    }
}
